<!DOCTYPE html>
<html lang="zh-CN" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>取货出库</title>
    <link href="/page/dist/css/bootstrap.min.css" rel="stylesheet" crossorigin="anonymous">
    <link href="/page/dist/css/bootstrap-dialog.min.css" rel="stylesheet">
    <link href="/page/dist/css/bootstrap-select.min.css" rel="stylesheet">
    <link href="/page/dist/css/bootstrap-table.min.css" rel="stylesheet">
    <link href="/page/build/css/index.css" rel="stylesheet"/>
    <link href="/page/css/index.css" rel="stylesheet"/>
    <link rel="shortcut icon" href="#"/>
    <script type="text/javascript" src="/page/dist/js/jquery-3.6.0.min.js"></script>
    <script type="text/javascript" src="/page/dist/js/bootstrap.min.js"></script>
    <script type="text/javascript" src="/page/dist/js/bootstrap-select.min.js"></script>
    <script type="text/javascript" src="/page/dist/js/i18n/defaults-zh_CN.min.js"></script>
    <script type="text/javascript" src="/page/dist/js/bootstrap-dialog.min.js"></script>
    <!--    <script src="https://cdn.bootcss.com/jquery/3.4.1/jquery.js"></script>-->
    <!--    <script src="https://cdn.bootcss.com/socket.io/2.4.0/socket.io.js"></script>-->
    <script type="text/javascript" src="/page/js/socket/socket.io.js"></script>
    <script type="module" src="/page/js/cookie/js.cookie-2.2.1.min.js"></script>
    <script type="text/javascript" src="/page/dist/js/bootstrap-table.min.js"></script>
    <script type="text/javascript" src="/page/dist/js/i18n/bootstrap-table-zh-CN.min.js"></script>
    <script type="text/javascript" src="/page/dist/js/jquery.serializejson.min.js"></script>
</head>
<body>
<div class="container-fluid">
    <div class="row">
        <nav class="navbar navbar-default hidden" id="outbound-nav">
            <div class="container-fluid">
                <!-- Brand and toggle get grouped for better mobile display -->
                <div class="navbar-header">
                    <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1" aria-expanded="false">
                        <span class="sr-only">Toggle navigation</span>
                        <span class="icon-bar"></span>
                        <span class="icon-bar"></span>
                        <span class="icon-bar"></span>
                    </button>
                    <a class="navbar-brand" href="#">湖南环仓智能</a>
                </div>

                <!-- Collect the nav links, forms, and other content for toggling -->
                <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
                    <form class="navbar-form navbar-left">
                        <div class="form-group">
                            <input type="text" class="form-control" placeholder="请输入出库单" style="font-size: x-large;">
                        </div>
                        <button type="submit" class="btn btn-primary" id="outbound-order">出库</button>
                    </form>
                    <ul class="nav navbar-nav navbar-right">
                        <li class="dropdown">
                            <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">张三 <span class="caret"></span></a>
                            <ul class="dropdown-menu">
                                <li><a href="#">退出登录</a></li>
                            </ul>
                        </li>
                    </ul>
                </div><!-- /.navbar-collapse -->
            </div><!-- /.container-fluid -->
        </nav>
    </div>
    <div class="row">
        <div class="form-inline" style="padding-top: 150px;text-align: center;" id="outbound-input">
            <input class="input form-control" id="outbound-order-no" placeholder="请扫描或输入出库编号"
                   style="width: 450px;font-size: x-large;"/>
            <button type="button" class="btn btn-info confirm-btn" id="outbound-button">出库</button>
            <div class="simple-keyboard" style="font-size: x-large;"></div>
        </div>
        <div class="form-inline hidden" id="outbound-info">
            <div class="main">
                <div class="content">
                    <div class="number-div"><span id="number-total">0</span></div>
                    要出库货箱数量
                </div>
                <div class="content">
                    <div class="number-div"><span id="number-waiting">0</span></div>
                    待出库货箱数量
                </div>
                <div class="content">
                    <div class="number-div"><span id="number-doing">0</span></div>
                    正出库货箱数量
                </div>
                <div class="content">
                    <div class="number-div"><span id="number-done">0</span></div>
                    已出库货箱数量
                </div>
            </div>
        </div>
    </div>
    <form class="hidden" id="form-param">
        <input type="hidden" name="upOrDownPolicy[boxCode]" id="ware-box-code"/>
        <input type="hidden" name="upOrDownPolicy[boxType]" th:value="1"/>
        <input type="hidden" name="upOrDownPolicy[clientId]" id="client-id" th:value="${clientId}"/>
        <input type="hidden" name="upOrDownPolicy[consoleId]" th:value="0"/>
        <input type="hidden" name="upOrDownPolicy[downToLocation]" th:value="1"/>
        <input type="hidden" name="upOrDownPolicy[outboundOrderCode]" id="policy-outbound"/>
        <input type="hidden" name="upOrDownPolicy[operationType]" th:value="0" id="operation-type"/>
        <input type="hidden" name="goodsBox[warehouseId]" value="1496411511321440258"/>
        <input type="hidden" name="goodsBox[boxType]" th:value="1"/>
        <input type="hidden" name="goodsBox[status]" th:value="1"/>
        <input type="hidden" name="goodsBox[inspectType]" th:value="1"/>
        <input type="hidden" name="goodsBox[boxCode]" id="good-box-code"/>
    </form>
</div>
</body>
<script type="text/javascript" src="/page/js/common.js"></script>
<script type="text/javascript" src="/page/js/wms/outbound.js"></script>
<script type="text/javascript" src="/page/build/index.js"></script>
<script type="text/javascript" src="/page/build/keyBoard.js"></script>
<script type="text/javascript" src="/page/js/socket.con.js"></script>
</html>